package online.longzipeng.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import online.longzipeng.config.knife4j.ApiVersion;
import online.longzipeng.config.knife4j.ApiVersionConstant;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: lzp
 * @description:
 * @Date: 2023/3/26
 */
@RestController
@RequestMapping("/test")
@Api(tags = "测试相关接口")
@ApiVersion(group = ApiVersionConstant.All)
public class TestController {

	@GetMapping("/A")
	@ApiOperation("测试接口——A")
	public String A() {
		return "测试接口A";
	}

	@GetMapping("/B")
	@ApiOperation("测试接口——B")
	public String B() {
		return "测试接口A";
	}

	@GetMapping("/C")
	@ApiOperation("测试接口——C")
	public String C() {
		return "测试接口A";
	}

}
